<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="node_modules/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <atemplate></atemplate>
    </div>
    <template id="mytemplate">
        <h1>template标签中的html</h1>
    </template>
</body>
    <script type="text/template" id="ccc">
        <h1>template标签中的html</h1>
    </script>
    <script>
        new Vue({
            el:"#app",
            data:{},
            components:{
                "atemplate":{
                    template:"#mytemplate"
                }
            }

        })
    </script>
</html>